
package com.shop.cloud.mall.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 保障服务
 *
 * @author
 * @date 2020-02-09 23:31:36
 */
@Data
@TableName("ensure")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "保障服务")
public class Ensure extends Model<Ensure> {
    private static final long serialVersionUID=1L;

    /**
     * PK
     */
	@Schema(description = "PK")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    /**
     * 所属租户
     */
	@Schema(description = "所属租户")
    private String tenantId;
    /**
     * 逻辑删除标记（0：显示；1：隐藏）
     */
	@Schema(description = "逻辑删除标记")
    private String delFlag;
    /**
     * 创建时间
     */
	@Schema(description = "创建时间")
    private LocalDateTime createTime;
    /**
     * 最后更新时间
     */
	@Schema(description = "最后更新时间")
    private LocalDateTime updateTime;
    /**
     * 创建者ID
     */
	@Schema(description = "创建者ID")
    private String createId;
    /**
     * 保障名
     */
	@Schema(description = "保障名")
    private String name;
    /**
     * 保障详情
     */
	@Schema(description = "保障详情")
    private String detail;

}
